package edu.zut.cs.software.cms.module.all.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import edu.zut.cs.software.cms.base.domain.BaseEntity;
/***
 * 查询所有账号模块实体
 * 
 * @author 42276
 *
 */
@Entity
@Table(name = "T_ALL")
public class All extends BaseEntity<Long> {

	/**
	 * generate serialVersionUID
	 */
	private static final long serialVersionUID = 8734275607197265171L;

	/**
	 * 账号
	 */
	@Column
	String username;
	/**
	 * 密码
	 */
	@Column
	String password;
	/**
	 * 身份
	 */
	@Column
	String identity;

	
//	public All(String username,String password,String identity) {
//		super();
//		this.username=username;
//		this.password=password;
//		this.identity=identity;
//	}
//	
//	public All() {
//		super();
//	}
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	@Override
	public String toString() {
		return "All [username=" + username + ", password=" + password + ", identity=" + identity + "]";
	}
	
}
